package com.ruoyi.interview.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 公司对象 tb_corporation
 * 
 * @author ruoyi
 * @date 2024-05-27
 */
public class TbCorporation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @Excel(name = "主键")
    private Long id;

    /** 公司名称 */
    @Excel(name = "公司名称")
    private String corporationName;

    /** 公司地址 */
    @Excel(name = "公司地址")
    private String corporationAddress;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCorporationName(String corporationName) 
    {
        this.corporationName = corporationName;
    }

    public String getCorporationName() 
    {
        return corporationName;
    }
    public void setCorporationAddress(String corporationAddress) 
    {
        this.corporationAddress = corporationAddress;
    }

    public String getCorporationAddress() 
    {
        return corporationAddress;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("corporationName", getCorporationName())
            .append("corporationAddress", getCorporationAddress())
            .toString();
    }
}
